package com.danbay.cloud.account.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author SJG
 *         2018/1/4.
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AddEnterpriseDto {
    /**
     * 企业名称
     */
    @NotNull(message = "企业名称不能为空")
    private String name;
    /**
     * 0:正式、1:试用
     */
    @NotNull(message = "是否为试用不能为空")
    private Boolean trial;

}
